home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / shrlk201.zip / _SETUP.1 / Main.h < prev    next >
C/C++ Source or Header  |  1997-07-22  |  1KB  |  44 lines

  1. //---------------------------------------------------------------------------
  2. #ifndef MainH
  3. #define MainH
  4. //---------------------------------------------------------------------------
  5. #include <vcl\Classes.hpp>
  6. #include <vcl\Controls.hpp>
  7. #include <vcl\StdCtrls.hpp>
  8. #include <vcl\Forms.hpp>
  9. #include <vcl\ExtCtrls.hpp>
  10. #include "sampreg.h"
  11. //---------------------------------------------------------------------------
  12. class TForm1 : public TForm
  13. {
  14. __published:    // IDE-managed Components
  15.     TLabel *lblUserName;
  16.     TEdit *txtUserName;
  17.     TLabel *lblPrivateKey;
  18.     TLabel *lblExtensionLength;
  19.     TBevel *Bevel1;
  20.     TLabel *lblCode;
  21.     TEdit *txtPrivateKey;
  22.     TSpinEdit *seExtension;
  23.     TRadioGroup *rgUnlockType;
  24.     TButton *btnGenerateKey;
  25.     TEdit *txtCodeOut;
  26.     void __fastcall txtUserNameChange(TObject *Sender);
  27.     void __fastcall txtPrivateKeyChange(TObject *Sender);
  28.     void __fastcall rgUnlockTypeClick(TObject *Sender);
  29.     void __fastcall seExtensionChange(TObject *Sender);
  30.     void __fastcall btnGenerateKeyClick(TObject *Sender);
  31. private:    // User declarations
  32. public:        // User declarations
  33.     __fastcall TForm1(TComponent* Owner);
  34. };
  35.  
  36. extern "C" char * __stdcall GenerateKey(char * sName, char * sPrivateKey, int iExtension);
  37.  
  38.  
  39.  
  40. //---------------------------------------------------------------------------
  41. extern TForm1 *Form1;
  42. //---------------------------------------------------------------------------
  43. #endif
  44.